@-ms-viewport {
  width: device-width;
}

#sidebar-mask {
  background-color: #333;
  width: 100%;
  height: 100%;
  filter: alpha(opacity=60);
  opacity: .6;
  z-index: 99;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}


@media (max-width: 900px) {
  .search_msg {
    text-align: center;
  }

  .inner.no-padding.fenye-inner {
    min-height: 50px;
  }

  #loading {
    left: 50%;
  }

  #loading.index-loading {
    left: 50%;
  }

  #create_topic_form .CodeMirror.cm-s-paper {
    height: calc(100vh - 350px);
  }


  .acp {
    padding: 7px 10px;
  }

  .right_bottom_icon {
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 22px;
    color: #fff;
    background-color: #80bd01;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    position: absolute;
    right: 0;
  }

  .write {
    background-image: url(/public/svg/write.svg);

  }

  .navbar .container > ul.nav.pull-right {
    margin-right: 0;

  }

  .navbar .container > ul.nav.pull-right > li:last-child {
    margin-right: -5px;
  }


  .user-topics-name {
    max-width: 180px;
  }

  div.inner-div {
    width: 100%;
    margin-top: -3px;
  }

  div.inner-div .mobile-action-list {
    margin-top: 0;
    margin-left: -4px;
  }

  div.inner-div .mobile-new-topic-intro {
    margin-top: 2px;
  }

  div.inner-div .mobile-tag_list {
    margin-top: -5px;
  }

  div.following_tabs::-webkit-scrollbar {
    display: none;
  }

  div.following_tabs .following-tab {
    margin-right: 3px;
  }

  .topic-sub-tab-more.following-tab > .icon {
    line-height: 48px !important;
  }

  .user-topics-1 div.user-topics-more-numbers {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 10px;
  }

  .user-topics-1 div.user-topics-signature {
    margin-right: 0;
  }

  .user-topics-1 .user-topics-more-info {
    margin-top: 3px;
  }

  .user-topics-1 .user-topics-more-numbers .big-font {
    font-size: 20px;
  }

  div.beizhu-div {
    margin-left: 0;
  }

  div > button.save {
    margin-right: 0;
  }

  .user-topics-1 .user-topics-search-div {

  }

  .filter_tag {
    display: block;
    margin-top: 5px;
  }

  .legal_result, .official_result {
    margin-top: -2px;
  }

  .unread-tab-attention:not(.current-tab)::before {
    content: " ";
    border: 4px solid red;
    border-radius: 4px;
    position: absolute;
    left: 33px;
    top: 2px;
  }

  .span-primary:hover {
    color: white;
    background-color: #06f;
  }

  .span-primary:active {
    color: white;
    background-color: #06f;
  }

  .header_sub_tab {

  }

  .sousuojieguo {
    width: 100%;
  }

  .mobile-search-div {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    margin-left: 5px;
  }

  .other-search {
    margin-left: 0px;
  }

  .mobile-user-cell {
    padding: 10px 15px;
    display: flex;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    justify-content: space-between;
  }

  .mobile-user-left {
    display: flex;
    flex-direction: row;
    flex: 1;
    position: relative;
  }

  .mobile-user-left-left {
    flex: 0 0 40px;
    height: 40px;
    background-size: cover;
    border-radius: 50%;
    margin-right: 20px;
  }


  .mobile-user-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
  }

  .mobile-user-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #backtotop {
    display: none !important;
  }

  #sidebar {
    display: none !important;
  }

  .notify-login-div {
    margin-top: 20px;
    margin-bottom: 5px;
  }

  /*回复底部空余太多*/
  .markdown-text.markdown-body > *:last-child {
    margin-bottom: 0;
  }

  .navbar-inner {
    width: 95%;
    padding-top: 10px;
    padding-bottom: 0;
  }

  .topic_content {
    margin: 0 15px !important;
  }

  div.panel > div.inner.topic {
    padding: 10px 0;
  }

  .panel {
    padding-bottom: 0 !important;
  }

  #content .panel {
    background-color: #e1e1e1;
  }

  .panel .inner {
    background-color: white;
  }

  .inner.no-padding.fenye-inner {
    background-color: #e1e1e1;
    padding-bottom: 10px;
  }

  div.inner.topic {
    background-color: white;
  }

  div.inner.reply {
    background-color: white;
  }

  div.inner.userinfo {
    background-color: white;
  }

  div.inner.setting_inner {
    background-color: white;
  }

  div.inner.signup {
    background-color: white;
  }

  div.inner.post {
    background-color: white;
  }

  #content > div.panel.setting_panel {
    background-color: white;
  }

  div.page_container {
    display: flex;
  }


  .navbar {
    margin: 0;
    z-index: 999;
    width: auto !important;
  }

  .navbar .container, #main,
  #content, #footer_main {
    width: 100%;
    min-width: 0;
    display: block;
  }

  .navbar .nav.pull-right {
    float: none;
    clear: both;
    display: flex;
    justify-content: space-between;
    padding-top: 3px;
    padding-bottom: 2px;
  }

  li.flex-login-li {
    margin-right: 10px !important;
  }

  li.flex-signup-li {
    flex: 1;
    text-align: left;
  }

  .breadcrumb {
    display: block;
  }

  #responsive-sidebar-trigger {
    display: none;
  }

  #main {
    margin-top: 0;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    min-height: 0;
  }

  #content .panel {
    margin: 0;
  }

  #content .topic_title {
    font-size: 1em;
    width: 100%;
  }

  #content .topic_title:hover {
    text-decoration: none;
  }

  #content .topic_title_search {
    font-size: 1em;
  }

  #content .topic_title_search_shishi {
    font-size: 1em;
  }


  #content .last_time {
    position: absolute;
    right: 7px;
    font-size: .8em;
  }

  #content .last_time img {
    display: none;
  }

  #content .reply_count {
    position: absolute;
    bottom: -5px;
    left: 55px;
    text-align: left;
  }

  #content .count_of_replies {
    font-size: 12px;
  }

  #content .count_of_visits {
    font-size: 10px;
  }


  #content .reply_count_search {
    width: 50px;
    display: inline-block;
    text-align: center;
    position: absolute;
    bottom: -8px;
    left: 50px;
    text-align: left;
    font-size: 10px;
  }

  .topic_title_wrapper {
    padding-left: 40px;
    padding-right: 55px;
    white-space: nowrap;
  }

  .topic_tags {
    padding-left: 40px;
    padding-right: 55px;
  }

  .topic_title_wrapper_search {
    padding-left: 40px;
    padding-right: 40px;
    white-space: nowrap;
  }

  .user_avatar .pull-left {
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -15px;
  }

  #main .topic_content p a.content_img,
  #main .reply_content p a.content_img {
    width: 100%;
  }

  #footer {
    margin: 0 5px 5px;
  }

  #footer_main {
    display: none;
  }

  /* #backtotop {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-right: 0;
  } */
  .form-horizontal .control-label {
    float: none;
    width: auto;
    padding-top: 0;
    text-align: left;
  }

  .form-horizontal .controls {
    margin-left: 0;
  }

  .form-horizontal .control-list {
    padding-top: 0;
  }

  .form-horizontal .form-actions {
    padding-right: 10px;
    padding-left: 10px;
  }

  #content .reply_content {
    clear: both;
  }

  #content .action {
    display: none;
  }

  .user_profile {
    margin-top: 0;
  }


  div#content > div.panel > div.header.header__index {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow-y: hidden;
    overflow-x: scroll;
  }

  div#content > div.panel > div.header.header__index::-webkit-scrollbar {
    height: 0px;
  }

  div#content > div.panel > div.header > .topic-tab {
    margin-right: 24px;
    flex: 0 0 30px;
    box-sizing: content-box;
  }

  div#content > div.panel > div.header > .topic-tab:last-of-type {
    margin-right: 5px;
  }

  div#content > div.panel > div.header > .topic-tab:not(.current-tab):hover {
    color: #80bd01;
  }

  .change-list {
    position: absolute !important;
    top: 55px !important;
    right: 12px !important;
  }

  .change-list > label {
    font-size: 13px;
  }

  .j-change-list {
    width: 12px !important;
    height: 12px !important;
    margin-top: -3px !important;
    box-shadow: none;
  }


  .fast-edit-delete {
    display: contents;
  }

  .j_reply_floor {
    margin-right: -50px;
    display: inline-block;
  }

  #vditor-div {
    z-index: 999999 !important;
  }

  .vditor-toolbar__item {
    padding: 0 9px 0 0 !important;
  }

  .cell .anchor-link {
    left: 0px;
  }

  .header__content.header__search {
    width: 100% !important;
  }

  .search--adv {
    width: 100% !important;
  }

  .navbar .nav > li {
    margin: 0 -5px;
  }

  .navbar .nav > li#to-simple-li {
    margin: 0 10px;
    margin-top: -1px;
  }

  .navbar .nav > li > a#to-simple-a {
    line-height: 22px;
  }

  .navbar .nav > li > a {
    padding: 10px 7px;
  }

  .navbar .brand {
    text-align: center;
    float: none;
    margin: -3px auto 5px auto;
  }

  .navbar .search--adv {
    clear: both;
    margin: 0 auto;
    float: none;
  }

  .navbar .search-query-sean {
    display: block;
  }

  .only_pc {
    display: none !important;
  }

  .only_mobile {
    display: inline-block !important;
    max-width: 100% !important;
    line-height: 22px !important;
  }

  .only_pc_search {
    display: none !important;
  }

  .only_mobile_search {
    display: inline-block !important;
    max-width: 100% !important;
    line-height: 22px;
  }

  .only_mobile_search {
    display: inline-block !important;
    max-width: 100% !important;
    line-height: 22px;
  }

  .pagination {
    display: block;
  }

  .fenye {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    margin-left: -10px;
  }

  .pagination-previous, .pagination-next {
    flex-grow: 1;
    flex-shrink: 1;
    white-space: nowrap;
    border: 1px solid #dbdbdb;
    color: #363636;
    min-width: 0px;
    font-size: 16px;
    justify-content: center;
    margin: 10px 5px 5px 5px;
    padding: 0px !important;
    text-align: center;
    border-radius: 5px;
    height: 30px;
    line-height: 30px !important;
  }

  .pagination-previous[disabled], .pagination-next[disabled] {
    background-color: #dbdbdb;
    border-color: #dbdbdb;
    box-shadow: none;
    color: #7a7a7a;
    opacity: .5;
  }

  .pagination ul {
    display: none;
  }

  #searchInput, #searchButton {
    /*float: right;*/
  }


  /************************ gitee markdown ***********************************/
  div.markdown-text.markdown-body {
    font-size: 15px;
    line-height: 1.5;
    color: #40485b;
    word-break: break-all;
  }

  div.markdown-text.markdown-body h1,
  div.markdown-text.markdown-body h2,
  div.markdown-text.markdown-body h3,
  div.markdown-text.markdown-body h4,
  div.markdown-text.markdown-body h5,
  div.markdown-text.markdown-body h6,
  div.markdown-text.markdown-body li {
    line-height: 1.5;
  }

  div.markdown-text.markdown-body code, kbd, samp {
    font-family: monospace, monospace;
    font-size: 1em;
  }

  div.markdown-text.markdown-body p {
    font-size: 1em;
    line-height: 1.5;
  }

  div.markdown-text.markdown-body a {
    font-size: 1em;
    word-break: break-all;
  }

  div.markdown-text.markdown-body a {
    color: #4183c4;
    text-decoration: none
  }

  div.markdown-text.markdown-body a.absent {
    color: #c00
  }

  div.markdown-text.markdown-body a.anchor {
    display: block;
    padding-left: 25px;
    margin-left: -18px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0
  }

  div.markdown-text.markdown-body h1, div.markdown-text.markdown-body h2, div.markdown-text.markdown-body h3, div.markdown-text.markdown-body h4, div.markdown-text.markdown-body h5, div.markdown-text.markdown-body h6 {
    margin: 20px 0 10px 0;
    padding: 0;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    cursor: text;
    position: relative
  }

  div.markdown-text.markdown-body h1:first-child, div.markdown-text.markdown-body h1:first-child + h2, div.markdown-text.markdown-body h2:first-child, div.markdown-text.markdown-body h3:first-child, div.markdown-text.markdown-body h4:first-child, div.markdown-text.markdown-body h5:first-child, div.markdown-text.markdown-body h6:first-child {
    margin-top: 0;
    padding-top: 0
  }

  div.markdown-text.markdown-body h1 code, div.markdown-text.markdown-body h1 tt, div.markdown-text.markdown-body h2 code, div.markdown-text.markdown-body h2 tt, div.markdown-text.markdown-body h3 code, div.markdown-text.markdown-body h3 tt, div.markdown-text.markdown-body h4 code, div.markdown-text.markdown-body h4 tt, div.markdown-text.markdown-body h5 code, div.markdown-text.markdown-body h5 tt, div.markdown-text.markdown-body h6 code, div.markdown-text.markdown-body h6 tt {
    font-size: inherit
  }

  div.markdown-text.markdown-body h1 {
    font-size: 22px;
    color: #000
  }


  div.markdown-text.markdown-body h2 {
    font-size: 19px;
    color: #000
  }


  div.markdown-text.markdown-body h3 {
    font-size: 17px
  }


  div.markdown-text.markdown-body h4 {
    font-size: 16px
  }


  div.markdown-text.markdown-body h5 {
    font-size: 15px
  }


  div.markdown-text.markdown-body h6 {
    color: #777;
    font-size: 15px
  }


  div.markdown-text.markdown-body blockquote, div.markdown-text.markdown-body dl, div.markdown-text.markdown-body li, div.markdown-text.markdown-body ol, div.markdown-text.markdown-body p, div.markdown-text.markdown-body pre, div.markdown-text.markdown-body table, div.markdown-text.markdown-body ul {
    margin: 0 0 20px 0
  }

  div.markdown-text.markdown-body a:first-child h1, div.markdown-text.markdown-body a:first-child h2, div.markdown-text.markdown-body a:first-child h3, div.markdown-text.markdown-body a:first-child h4, div.markdown-text.markdown-body a:first-child h5, div.markdown-text.markdown-body a:first-child h6, div.markdown-text.markdown-body h1:first-child, div.markdown-text.markdown-body h1:first-child + h2, div.markdown-text.markdown-body h2:first-child, div.markdown-text.markdown-body h3:first-child, div.markdown-text.markdown-body h4:first-child, div.markdown-text.markdown-body h5:first-child, div.markdown-text.markdown-body h6:first-child {
    margin-top: 0;
    padding-top: 0
  }

  div.markdown-text.markdown-body h1 p, div.markdown-text.markdown-body h2 p, div.markdown-text.markdown-body h3 p, div.markdown-text.markdown-body h4 p, div.markdown-text.markdown-body h5 p, div.markdown-text.markdown-body h6 p {
    margin-top: 0
  }

  div.markdown-text.markdown-body li p.first {
    display: inline-block
  }

  div.markdown-text.markdown-body ol, div.markdown-text.markdown-body ul {
    padding-left: 2em
  }

  div.markdown-text.markdown-body ol, div.markdown-text.markdown-body ol li {
    list-style: decimal
  }

  div.markdown-text.markdown-body ul, div.markdown-text.markdown-body ul li {
    list-style: disc
  }

  div.markdown-text.markdown-body ol :first-child, div.markdown-text.markdown-body ul :first-child {
    margin-top: 0
  }

  div.markdown-text.markdown-body ol :last-child, div.markdown-text.markdown-body ul :last-child {
    margin-bottom: 0
  }

  div.markdown-text.markdown-body dl {
    padding: 0
  }

  div.markdown-text.markdown-body dl dt {
    font-size: 1em;
    font-weight: 700;
    font-style: italic;
    padding: 0;
    margin: 15px 0 5px
  }


  div.markdown-text.markdown-body dl dt:first-child {
    padding: 0
  }

  div.markdown-text.markdown-body dl dt > :first-child {
    margin-top: 0
  }

  div.markdown-text.markdown-body dl dt > :last-child {
    margin-bottom: 0
  }

  div.markdown-text.markdown-body dl dd {
    margin: 0 0 15px;
    padding: 0 15px
  }

  div.markdown-text.markdown-body dl dd > :first-child {
    margin-top: 0
  }

  div.markdown-text.markdown-body dl dd > :last-child {
    margin-bottom: 0
  }

  div.markdown-text.markdown-body blockquote > :first-child {
    margin-top: 0
  }

  div.markdown-text.markdown-body blockquote > :last-child {
    margin-bottom: 0
  }

  div.markdown-text.markdown-body table {
    padding: 0;
    width: auto
  }

  div.markdown-text.markdown-body table tr {
    border-top: 1px solid #ddd;
    background-color: #fff;
    margin: 0;
    padding: 0
  }

  div.markdown-text.markdown-body table tr:nth-child(odd) {
    background-color: #f8f8f8
  }

  div.markdown-text.markdown-body table tr th {
    font-weight: 700
  }

  div.markdown-text.markdown-body table tr td, div.markdown-text.markdown-body table tr th {
    border: 1px solid #ddd;
    text-align: left;
    margin: 0;
    padding: 6px 13px
  }

  div.markdown-text.markdown-body table tr td :first-child, div.markdown-text.markdown-body table tr th :first-child {
    margin-top: 0
  }

  div.markdown-text.markdown-body table tr td :last-child, div.markdown-text.markdown-body table tr th :last-child {
    margin-bottom: 0
  }

  div.markdown-text.markdown-body img {
    max-width: 100%
  }

  div.markdown-text.markdown-body img:not(.emoji) {
    cursor: pointer;
    display: inline-block
  }

  div.markdown-text.markdown-body span.frame {
    display: block;
    overflow: hidden
  }

  div.markdown-text.markdown-body span.frame > span {
    border: 1px solid #ddd;
    display: block;
    float: left;
    overflow: hidden;
    margin: 13px 0 0;
    padding: 7px;
    width: auto
  }

  div.markdown-text.markdown-body span.frame span img {
    display: block;
    float: left
  }

  div.markdown-text.markdown-body span.frame span span {
    clear: both;
    color: #333;
    display: block;
    padding: 5px 0 0
  }

  div.markdown-text.markdown-body span.align-center {
    display: block;
    overflow: hidden;
    clear: both
  }

  div.markdown-text.markdown-body span.align-center > span {
    display: block;
    overflow: hidden;
    margin: 13px auto 0;
    text-align: center
  }

  div.markdown-text.markdown-body span.align-center span img {
    margin: 0 auto;
    text-align: center
  }

  div.markdown-text.markdown-body span.align-right {
    display: block;
    overflow: hidden;
    clear: both
  }

  div.markdown-text.markdown-body span.align-right > span {
    display: block;
    overflow: hidden;
    margin: 13px 0 0;
    text-align: right
  }

  div.markdown-text.markdown-body span.align-right span img {
    margin: 0;
    text-align: right
  }

  div.markdown-text.markdown-body span.float-left {
    display: block;
    margin-right: 13px;
    overflow: hidden;
    float: left
  }

  div.markdown-text.markdown-body span.float-left span {
    margin: 13px 0 0
  }

  div.markdown-text.markdown-body span.float-right {
    display: block;
    margin-left: 13px;
    overflow: hidden;
    float: right
  }

  div.markdown-text.markdown-body span.float-right > span {
    display: block;
    overflow: hidden;
    margin: 13px auto 0;
    text-align: right
  }

  div.markdown-text.markdown-body code, div.markdown-text.markdown-body tt {
    margin: 0 2px;
    padding: 0 5px;
    white-space: nowrap;
    border: 1px solid #eaeaea;
    background-color: #f8f8f8
  }

  div.markdown-text.markdown-body pre code {
    margin: 0;
    padding: 0;
    white-space: pre;
    border: none;
    background: transparent
  }

  div.markdown-text.markdown-body pre {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    font-size: 12.5px;
    line-height: 1.37;
    overflow: auto;
    padding: 6px 10px
  }


  div.markdown-text.markdown-body pre {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    font-size: 12.5px;
    line-height: 1.37;
    overflow: auto;
    padding: 6px 10px
  }


  div.markdown-text.markdown-body pre code, div.markdown-text.markdown-body pre tt {
    background-color: transparent;
    border: none
  }

  div.markdown-text.markdown-body .task-list {
    line-height: 1.33
  }

  div.markdown-text.markdown-body .task-list-item {
    list-style: none;
    margin-left: -1.7em
  }

  div.markdown-text.markdown-body .task-list-item-checkbox {
    vertical-align: baseline
  }
}



